package com.techstar.ats.dxp.live;

import java.time.LocalDateTime;

import com.techstar.ats.dxp.CsvFormatter;

public class F07DeoptInOut implements CsvFormatter {
	private static final long serialVersionUID = 1L;
	public boolean flag;
	public boolean sched;
	public LocalDateTime time;
	public int station;
	public int side;
	public String name;
	public String train;
	public int dest;
	public String global;
	public int localSub;

	public boolean toCsvString(StringBuffer sb) {
		sb.append(this.flag)
			.append(',')
			.append(this.sched)
			.append(',')
			.append(this.time.format(DATE_TIME_FORMATTER))
			.append(',')
			.append(this.station)
			.append(',')
			.append(this.side)
			.append(',')
			.append(this.name)
			.append(',')
			.append(this.train)
			.append(',')
			.append(this.dest)
			.append(',')
			.append(this.global)
			.append(',')
			.append(this.localSub);
		return true;
	}
}
